#include "Director.h"

Director::Director(const string firstName, const  string lastName, int age, eGender gender, int salary,
	int numOfOpennedAccounts, int numOfVacationDays, const string education, float overheadHours, int experience)

	: Employee(firstName, lastName, age, gender, salary),
	  Clerk(firstName, lastName, age, gender, salary, numOfOpennedAccounts), 
	  Cashier(firstName, lastName, age, gender, salary, numOfVacationDays), 
	  overheadHours(overheadHours), experience(experience)
{
	
}

int Director::getSalary() const
{
	return Clerk::getSalary();
}

void Director::toOs(ostream& os, bool isFullPrint) const
{
	os << "Director={OverHeadHourse=" << overheadHours << ", Experience=" << experience << "\n\t";
	Employee::toOs(os, false);
	os << "\n\t";
	Clerk::toOs(os, false);
	os << "\n\t";
	Cashier::toOs(os, false);
	os << "}";
}

Director::~Director()
{
}